package com.greedy.bulls.stock.trade.oauth.startup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @Author: Yanxy
 * @Date: Created in:2023-07-12
 * Description: 启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.greedy"})
@EntityScan(basePackages = {"com.greedy"})
@EnableJpaRepositories(basePackages =  {"com.greedy"})
@EnableCaching
public class TradeAuthApp {

    public static void main(String[] args) {
        SpringApplication.run(TradeAuthApp.class, args);
    }

}


